<?php

namespace App\Http\Requests\Admin\Wechat;

use App\Http\Requests\Admin\Request;

class UpdateRequest extends Request
{

    public function rules()
    {
        return [
            'name' => 'required|max:20'
        ];
    }

    public function messages()
    {
        return [
            'name.required' => '规则名称必须填写'
        ];
    }
}
